package data.Map;


/**
 * lool
 */
public class Board
{
	private int size_x;
	private int size_y;
	private GridObject[][] board;
	
	public Board(int x, int y)
	{
		this.size_x = x;
		this.size_y = y;
		
		board = new GridObject[y][x];
	}
	
	public void updateBoard(GridObject a[][])
	{
		for(int y = 0; y < size_y; y++)
		{
			for(int x = 0; x < size_x; x++)
			{
				board[y][x] = a[y][x];
			}
			System.out.println();
		}
	}
	
	public void printBoard()
	{
		for(int y = 0; y < size_y; y++)
		{
			for(int x = 0; x < size_x; x++)
			{
				System.out.print(board[y][x].toString() + " ");
			}
			System.out.println();
		}
	}
}
